Repository navigation
test(ui): cover the support note height animation in the browser - #1254
Merged
Merged
Conversation
The shared disclosure already animates its height, but only unit tests asserted it. Two browser tests now open and close the support note on the system information page. One reads the expand classes, the kept open attribute and the scroll position. The other checks that the body reaches its full height at once under reduced motion. Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
7 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Opening the "What is removed" note on the system information page already slides its height, but only unit tests proved it. A browser regression could have gone unnoticed. This adds two browser tests for it: one for the open and close animation (the page does not jump, the section stays open until the close has finished), one for reduced motion (the section is at full height at once). No production code changes.
Type of change
test- tests onlyHow was this tested?
npx playwright test e2e/system-info.spec.ts --project=chromium --workers=2throughheavy: 15 passed.Checklist
CLAUDE.md(English, imperative, one offeat,fix,docs,refactor,test,build,ci,chore,perf)./gradlew buildpasses locally